package com.gyh.thymeleaf;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Curry
 */
@SpringBootApplication
@MapperScan("com.gyh.thymeleaf.mapper")
public class ThymeleafApplication {
    private static final Logger logger = LoggerFactory.getLogger(ThymeleafApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ThymeleafApplication.class, args);

        logger.info("========================启动完毕========================");
        logger.info("访问地址:http://localhost:8080/api/login");
    }

}
